home *** CD-ROM | disk | FTP | other *** search
-
- #we want a patch where positive X is ascending time, and have
-
- set width 8
- set depth 3
- set text(color) "1 1 1"
- set text(fontName) Helvetica
- set text(size) 18
-
- startShape floor
- MakeTexture $modelPath/grid.tiff /tmp/grid.tx clamp clamp box 2 2
- Surface paintedplastic texturename /tmp/grid.tx
- Patch bilinear P "0 0 0 \
- 0 0 $depth \
- $width 0 0 \
- $width 0 $depth"
- startShape ticks
- Surface constant
- for {set i 0} {$i <= $width} {incr i} \
- { startShape tick.${i}
- Translate $i 0 0;
- Color $text(color)
- WW3DText $text(fontName) $text(size) $i;
- endShape
- }
- endShape
- endShape
-